package com.qingyun.modular.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.sql.Timestamp;

/**
 * <p>
 * 分销表
 * </p>
 *
 * @author 广西利码优信息科技有限公司
 * @since 2021-05-07
 */
@TableName("distributor")
public class Distributor {
    @TableId(value="id", type= IdType.AUTO)
    private int id;
//    /**
//     * 手机号
//     */
//    @TableField("mobile")
//    private String mobile;
    /**
     * 分销者ID User表
     */
    @TableField("distributor_id")
    private int distributorId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

//    public String getMobile() {
//        return mobile;
//    }
//
//    public void setMobile(String mobile) {
//        this.mobile = mobile;
//    }

    public int getDistributorId() {
        return distributorId;
    }

    public void setDistributorId(int distributorId) {
        this.distributorId = distributorId;
    }

    public String getDistributorName() {
        return distributorName;
    }

    public void setDistributorName(String distributorName) {
        this.distributorName = distributorName;
    }

    public String getDistributorMobile() {
        return distributorMobile;
    }

    public void setDistributorMobile(String distributorMobile) {
        this.distributorMobile = distributorMobile;
    }

    public int getDistributorStatus() {
        return distributorStatus;
    }

    public void setDistributorStatus(int distributorStatus) {
        this.distributorStatus = distributorStatus;
    }

    public String getWxOpenid() {
        return wxOpenid;
    }

    public void setWxOpenid(String wxOpenid) {
        this.wxOpenid = wxOpenid;
    }

    public String getMiniOpenid() {
        return miniOpenid;
    }

    public void setMiniOpenid(String miniOpenid) {
        this.miniOpenid = miniOpenid;
    }

    public String getAliOpenid() {
        return aliOpenid;
    }

    public void setAliOpenid(String aliOpenid) {
        this.aliOpenid = aliOpenid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getWechatId() {
        return wechatId;
    }

    public void setWechatId(String wechatId) {
        this.wechatId = wechatId;
    }

    public int getSuperId() {
        return superId;
    }

    public void setSuperId(int superId) {
        this.superId = superId;
    }

    public int getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(int auditStatus) {
        this.auditStatus = auditStatus;
    }

    public int getSourceType() {
        return sourceType;
    }

    public void setSourceType(int sourceType) {
        this.sourceType = sourceType;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getCommissionType() {
        return commissionType;
    }

    public void setCommissionType(int commissionType) {
        this.commissionType = commissionType;
    }

    public double getProportion() {
        return proportion;
    }

    public void setProportion(double proportion) {
        this.proportion = proportion;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }

    public Timestamp getSubmiTime() {
        return submiTime;
    }

    public void setSubmiTime(Timestamp submiTime) {
        this.submiTime = submiTime;
    }

    public Timestamp getAuditAt() {
        return auditAt;
    }

    public void setAuditAt(Timestamp auditAt) {
        this.auditAt = auditAt;
    }

    public Timestamp getSuccessTime() {
        return successTime;
    }

    public void setSuccessTime(Timestamp successTime) {
        this.successTime = successTime;
    }

    public Timestamp getStartAt() {
        return startAt;
    }

    public void setStartAt(Timestamp startAt) {
        this.startAt = startAt;
    }

    public Timestamp getEndAt() {
        return endAt;
    }

    public void setEndAt(Timestamp endAt) {
        this.endAt = endAt;
    }

    public int getIsDel() {
        return isDel;
    }

    public void setIsDel(int isDel) {
        this.isDel = isDel;
    }

    /**
     * 手机号
     */
    @TableField("distributor_name")
    private String distributorName;
    /**
     * 手机号
     */
    @TableField("distributor_mobile")
    private String distributorMobile;
    /**
     * 手机号
     */
    @TableField("distributor_status")
    private int distributorStatus;
    /**
     * 手机号
     */
    @TableField("wx_openid")
    private String wxOpenid;
    /**
     * 手机号
     */
    @TableField("mini_openid")
    private String miniOpenid;
    /**
     * 手机号
     */
    @TableField("ali_openid")
    private String aliOpenid;
    /**
     * 手机号
     */
    @TableField("nickname")
    private String nickname;
    /**
     * 手机号
     */
    @TableField("wechat_id")
    private String wechatId;
    /**
     * 手机号
     */
    @TableField("super_id")
    private int superId;
    /**
     * 手机号
     */
    @TableField("audit_status")
    private int auditStatus;
    /**
     * 手机号
     */
    @TableField("source_type")
    private int sourceType;
    /**
     * 手机号
     */
    @TableField("balance")
    private double balance;
    /**
     * 手机号
     */
    @TableField("level")
    private int level;
    /**
     * 手机号
     */
    @TableField("commission_type")
    private int commissionType;
    /**
     * 手机号
     */
    @TableField("proportion")
    private double proportion;
    /**
     * 手机号
     */
    @TableField("integral")
    private int integral;
    /**
     * 手机号
     */
    @TableField("created_at")
    private Timestamp createdAt;
    /**
     * 手机号
     */
    @TableField("submi_time")
    private Timestamp submiTime;
    /**
     * 手机号
     */
    @TableField("audit_at")
    private Timestamp auditAt;
    /**
     * 手机号
     */
    @TableField("success_time")
    private Timestamp successTime;
    /**
     * 手机号
     */
    @TableField("start_at")
    private Timestamp startAt;
    /**
     * 手机号
     */
    @TableField("end_at")
    private Timestamp endAt;
    /**
     * 手机号
     */
    @TableField("is_del")
    private int isDel;
}
